package io.renren.modules.api.dao;

import io.renren.modules.api.entity.UserFrequentlyRouteSectionEntity;
import io.renren.modules.sys.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 常用路线路段(详情)
 * 
 * @author wangdajiang
 * @email 2750757088@qq.com
 * @date 2018-03-21 15:47:02
 */
@Mapper
public interface UserFrequentlyRouteSectionDao extends BaseDao<UserFrequentlyRouteSectionEntity> {
    int deleteByRouteId(Long routeId);
    List<UserFrequentlyRouteSectionEntity> queryListByRouteId(Long routeId);
    List<Map<String,Object>> queryListMapByRouteId(Long routeId);

}
